Component({
  data: {
    menuTop: 0,
    menuHeight: 0,
    navBarHeight: 0, // 导航栏高度
    statusBarHeight: 0, // 状态栏高度
  },
  attached() {
    const machin = getApp().machin;
    this.setData({
      navBarHeight: machin.navBarHeight+20,
      statusBarHeight: machin.statusBarHeight,
      menuTop: machin.menuTop+100,
      menuHeight: machin.menuHeight,
      menuWidth: machin.menuWidth
    });
    }
})
